<template>
    <div class="admin">
        <el-container>
            <el-header>
                <topMenu></topMenu>
            </el-header>
            <el-container>
                <el-aside width="200px">
                    <leftMenu></leftMenu>
                </el-aside>
                <el-main>
                    <RouterView></RouterView>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script lang="ts" setup>
import { RouterLink, RouterView,useRouter } from 'vue-router'
import topMenu from '@/components/admin/topMenu.vue'
import leftMenu from '@/components/admin/leftMenu.vue'

import { onMounted } from "vue";
onMounted(() => {
  console.log('22222222222222222222222222222');
  
  const router = useRouter()
  console.log('11111111111111111',router);
  
})
</script> 
<style></style>
  